﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="System_Logs.aspx.cs" Inherits="WL_Store.Web.subpage.System_Logs" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
   <link href="../assets/css/bootstrap.min.css" rel="stylesheet" />
        <link rel="stylesheet" href="../css/style.css"/>       
        <link href="../assets/css/codemirror.css" rel="stylesheet"/>
        <link rel="stylesheet" href="../assets/css/ace.min.css" />
        <link rel="stylesheet" href="../font/css/font-awesome.min.css" />
        <!--[if lte IE 8]>
		  <link rel="stylesheet" href="assets/css/ace-ie.min.css" />
		<![endif]-->
		<script src="../js/jquery-1.9.1.min.js"></script>
        <script src="../assets/js/bootstrap.min.js"></script>
		<script src="../assets/js/typeahead-bs2.min.js"></script>           	
		<script src="../assets/js/jquery.dataTables.min.js"></script>
		<script src="../assets/js/jquery.dataTables.bootstrap.js"></script>
        <script src="../assets/layer/layer.js" type="text/javascript" ></script>          
        <script src="../js/H-ui.js" type="text/javascript"></script>
        <script src="../js/displayPart.js" type="text/javascript"></script>
        <script src="../assets/laydate/laydate.js" type="text/javascript"></script>
<title>系统日志</title>
     <style>
        th {
            text-align: center;
        }

        .add_name span {
            color: red;
        }
        td{
        padding:4px;
        text-align:center;
        }
        #gv_AllAdminInfo tr {
        height:40px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
        <div class="margin clearfix">
 <div id="refund_style">
   <div class="search_style">
     
      <ul class="search_content clearfix">
       <li><label class="l_f">姓名：</label>
           <input id="txt_comName" runat="server" name="" type="text" class="text_add" placeholder="输入商品名称" style=" width:200px"/>

       </li>
       <li><label class="l_f">修改时间</label>
           <input class="inline laydate-icon"  runat="server" id="txt_StarttradingHour" style=" margin-left:10px;" onclick="WdatePicker({ isShowClear: true, readOnly: true })"/>
           <label >至</label>
                <input class="inline laydate-icon" runat="server" id="txt_EndtradingHour" style=" margin-left:10px;" onclick="WdatePicker({ isShowClear: true, readOnly: true })"/>
       </li>
          <li><label class="l_f">级别</label>
              <asp:DropDownList ID="ddl_category" runat="server" style=" margin-left:10px;"  ></asp:DropDownList>
          </li>
           
       <li style="width:90px;">
           <%--<button id="btn_search" runat="server" type="button" class="btn_search" OnClick="btn_search_Click"><i class="fa fa-search"></i>查询</button>--%>
           <asp:Button ID="btn_searchs" runat="server" Text="查询"  CausesValidation="false"  class="btn_search" OnClick="btn_searchs_Click"/>
          
       </li>
      </ul>
    </div>
 <div class="border clearfix">
       <span class="l_f">
        <a href="javascript:ovid()" id="Refund_add" class="btn btn-warning "><i class="fa fa-plus "></i>添加系统日志</a>
       
        <%--<a href="javascript:ovid()" class="btn btn-danger"><i class="fa fa-trash"></i>&nbsp;批量删除</a>--%>
       </span>
       <span class="r_f">共：<b>2334</b>条</span>
     </div>
     <!--日志列表-->
    
     <table class="table table-striped table-bordered table-hover">
         <tr>
              <th>序号</th>
              <th>姓名</th>
             <th>管理级别</th>
              <th>修改内容</th>
              <th>修改时间</th>
              

         </tr>
         <asp:Repeater ID="rpt_systemlogs" runat="server">
             <ItemTemplate>
                 <tr>
                     <td><%# Eval("Id") %></td>
                     <td><%# Eval("name") %></td>
                     <td><%# Eval("Grade") %></td>
                     <td><%# Eval("count") %></td>
                     <td><%# Eval("modificationTime") %></td>
                 </tr>
             </ItemTemplate>
         </asp:Repeater>


     </table>



      <!--添加退款信息-->
            <div id="add_refund" class="add_menber" style="display: none">

                <div class="form-group">
                    <label class="form-label"><span class="c-red">*</span>订单编号：</label>
                    <div class="formControls">
                        <%--<input type="text" class="input-text" value="" placeholder="" id="user-name" name="user-name" datatype="*2-16" nullmsg="用户名不能为空">--%>
                        <asp:TextBox ID="txt_add_orderID" runat="server" placeholder="订单编号"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="订单编号不能为空" ControlToValidate="txt_add_orderID"></asp:RequiredFieldValidator>
                    </div>
                    <div class="col-4"><span class="Validform_checktip"></span></div>
                </div>
                <div class="form-group">
                    <label class="form-label"><span class="c-red">*</span>商品Id：</label>
                    <div class="formControls">
                        <%--<input type="password" placeholder="密码" name="userpassword" autocomplete="off" value="" class="input-text" datatype="*6-20" nullmsg="密码不能为空">--%>
                        <asp:TextBox ID="txt_add_commodityId" runat="server" placeholder="商品Id"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="商品Id不能为空" ControlToValidate="txt_add_commodityId"></asp:RequiredFieldValidator>
                    </div>
                    <div class="col-4"><span class="Validform_checktip"></span></div>
                </div>
                 <div class="form-group">
                    <label class="form-label"><span class="c-red">*</span>商品名称：</label>
                    <div class="formControls">
                        <%--<input type="password" placeholder="密码" name="userpassword" autocomplete="off" value="" class="input-text" datatype="*6-20" nullmsg="密码不能为空">--%>
                        <asp:TextBox ID="txt_add_comName" runat="server" placeholder="商品名称"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" ErrorMessage="商品名称不能为空" ControlToValidate="txt_add_comName"></asp:RequiredFieldValidator>
                    </div>
                    <div class="col-4"><span class="Validform_checktip"></span></div>
                </div>
                 <div class="form-group">
                    <label class="form-label"><span class="c-red">*</span>商品类别：</label>
                    <div class="formControls">
                        <%--<input type="password" placeholder="密码" name="userpassword" autocomplete="off" value="" class="input-text" datatype="*6-20" nullmsg="密码不能为空">--%>
                         <asp:DropDownList ID="ddl_add_categoryId" runat="server" style=" margin-left:10px;" ></asp:DropDownList>
                    
                    </div>
                    <div class="col-4"><span class="Validform_checktip"></span></div>
                </div>
                 <div class="form-group">
                    <label class="form-label"><span class="c-red">*</span>交易金额：</label>
                    <div class="formControls">
                        <%--<input type="password" placeholder="密码" name="userpassword" autocomplete="off" value="" class="input-text" datatype="*6-20" nullmsg="密码不能为空">--%>
                        <asp:TextBox ID="txt_add_transactionAmount" runat="server" placeholder="交易金额"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator12" runat="server" ErrorMessage="交易金额不能为空" ControlToValidate="txt_add_transactionAmount"></asp:RequiredFieldValidator>
                    </div>
                    <div class="col-4"><span class="Validform_checktip"></span></div>
                </div>
                 <div class="form-group">
                    <label class="form-label"><span class="c-red">*</span>交易时间：</label>
                    <div class="formControls">
                        <%--<input type="password" placeholder="密码" name="userpassword" autocomplete="off" value="" class="input-text" datatype="*6-20" nullmsg="密码不能为空">--%>
                        <input class="inline laydate-icon"  runat="server" id="txt_add_tradingHour" style=" margin-left:10px;" onclick="WdatePicker({ isShowClear: true, readOnly: true })"/>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator13" runat="server" ErrorMessage="交易时间不能为空" ControlToValidate="txt_add_tradingHour"></asp:RequiredFieldValidator>
                    </div>
                    <div class="col-4"><span class="Validform_checktip"></span></div>
                </div>
                 <div class="form-group">
                    <label class="form-label"><span class="c-red">*</span>退款金额：</label>
                    <div class="formControls">
                        <%--<input type="password" placeholder="密码" name="userpassword" autocomplete="off" value="" class="input-text" datatype="*6-20" nullmsg="密码不能为空">--%>
                        <asp:TextBox ID="txt_add_refundMoney" runat="server" placeholder="退款金额"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator9" runat="server" ErrorMessage="退款金额不能为空" ControlToValidate="txt_add_refundMoney"></asp:RequiredFieldValidator>
                    </div>
                    <div class="col-4"><span class="Validform_checktip"></span></div>
                </div>
                 <div class="form-group">
                    <label class="form-label"><span class="c-red">*</span>退款数量：</label>
                    <div class="formControls">
                        <%--<input type="password" placeholder="密码" name="userpassword" autocomplete="off" value="" class="input-text" datatype="*6-20" nullmsg="密码不能为空">--%>
                        <asp:TextBox ID="txt_add_refundAmount" runat="server" placeholder="退款数量"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator14" runat="server" ErrorMessage="退款数量不能为空" ControlToValidate="txt_add_refundAmount"></asp:RequiredFieldValidator>
                    </div>
                    <div class="col-4"><span class="Validform_checktip"></span></div>
                </div>
                 
                <div class="form-group">
                    <label class="form-label "><span class="c-red">*</span>退款状态：</label>
                    <div class="formControls  skin-minimal">
                        <asp:RadioButtonList ID="rbt_add_state" runat="server" RepeatDirection="Horizontal">
                            <asp:ListItem Selected="True" Value="0">未退款</asp:ListItem>
                            <asp:ListItem Value="1">已退款</asp:ListItem>

                        </asp:RadioButtonList>
                    </div>
                    <div class="col-4"><span class="Validform_checktip"></span></div>
                </div>
                <div class="form-group">
                    <label class="form-label "><span class="c-red">*</span>说明：</label>
                    <div class="formControls ">
                        <%--<input type="text" class="input-text" value="" placeholder="" id="user-tel" name="user-tel" datatype="m" nullmsg="手机不能为空"/>--%>
                        <asp:TextBox ID="txt_add_explain" runat="server" placeholder="说明"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="说明不能为空" ControlToValidate="txt_add_explain"></asp:RequiredFieldValidator>
                    </div>
                    <div class="col-4"><span class="Validform_checktip"></span></div>
                </div>
                
                    <%--<input class="btn btn-primary radius" type="submit" id="Add_Administrator" value="&nbsp;&nbsp;提交&nbsp;&nbsp;"/>--%>
                    <asp:Button ID="btn_add" runat="server" Text="添加" class="btn btn-primary radius"  />
                </div>

            

 </div>
</div>
    </form>
</body>
</html>

<script>
  laydate({
    elem: '#start',
    event: 'focus' 
});
$(function() {
  var oTable1 = $('#sample-table').dataTable( {
  "aaSorting":false,//默认第几个排序
  "bStateSave": true,//状态保存
  "aoColumnDefs": [
	//{"bVisible": false, "aTargets": [ 3 ]} //控制列的隐藏显示
	{"orderable":false,"aTargets":[0,1,2,3]}// 制定列不参与排序
  ]});	
})
</script>